package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.vo.user.UserInfoVo;
import com.atguigu.tingshu.vo.user.UserPaidRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> wxLogin(String code);

    UserInfoVo getUserInfoVoByUserId(Long userId);


    List<Long> userIsPaidTrack(Long albumId, Long userId, List<Long> trackIdList);

    Boolean isPaidAlbum(Long userId, Long albumId);

    void updateUserPaidRecord(UserPaidRecordVo userPaidRecordVo);
}
